package com.itsu.interfaces.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_question")
public class Question implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;
    //问题内容
    private String txt;
    private Date created;
    private Date updated;
}